package PontoEletronico;

import java.awt.*;
import java.net.URL;
import javax.swing.*;  
 
@SuppressWarnings("serial")
public class PaintSeta extends JPanel{  
      
    public PaintSeta(String path){
	    super.setBounds(52, 170, 50, 210);
	    URL url = getClass().getResource(path);
	    ImageIcon imgSetaVerde = new ImageIcon(url);
	    imgSetaVerde.setImage(imgSetaVerde.getImage().getScaledInstance(760, 560, 100));
	    JLabel lblSetaVerde = new JLabel(imgSetaVerde);
	    super.add(lblSetaVerde);
    }
    
    public void paintComponent(Graphics g) {
    	g.translate(320, -160);
    }
}	
		
		